<template>
	<view class="">
		<!-- 写入内容 -->
		<view class="matter-window unify-flex unify-fixed uni-from-the-bottom">
			<view class="left unify-flex">				
				<view class="left-price">
					<view class="">
						<text class="money-symbol">{{moneySymbol}}</text>
						{{totalPrice}}
					</view>
					<!-- <view class="left-desc">已优惠{{moneySymbol + '6'}}</view> -->
				</view>
			</view>

			<!-- 结算按钮 -->
			<view class="submit-btn" :class="'bg-' + themeColor.name" >去支付</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			num: {
				type: [String, Number],
				default: 0
			},
			totalPrice: {
				type: [String, Number],
				default: 0
			}
		},
		data() {
			return {
				moneySymbol: this.$mConstDataConfig.moneySymbol,
				
			}
		},
		methods: {
			
	
		}
	}
</script>

<style lang="scss" scoped>
	// 写入内容
	.matter-window {
		z-index: 98;
		height: 50px;
		width: 90%;
		left: 0;
		right: 0;
		bottom: var(--window-bottom);
		margin: 0 auto 10px;
		border-radius: 25px;
		justify-content: space-between;
		align-items: center;
		background-color: #555555;
	}

	.left {
		align-items: center;
	}
	
	.left-price {
		font-size: 18px;
		color: $uni-text-color-inverse;
		margin-left: 20px;
	}
	
	.left-desc {
		font-size: $uni-font-size-sm;
		font-weight: 500;
		color: $uni-text-color-grey;
	}
	
	.money-symbol {
		font-size: 14px;
		font-weight: 400;
	}

	.submit-btn {
		width: 180rpx;
		font-size: 14px;
		height: inherit;
		line-height: 50px;
		background: linear-gradient(to right, $uni-auxiliary-colour3, $uni-essential-colour);
		text-align: center;
		border-radius: 0 25px 25px 0;
		color: $uni-text-color-inverse;
	}
</style>
